c# join strings with comma

119

c# join strings with comma -

string[] myValues = new string[] { ... };
string csvString = string.Join(",", myValues);

//OR

string csvString = string.Join(",", value1, value2, value3, ...);

Comments

Submit
0 Comments